package com.dragon.modules.yuegou.query.points;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.dragon.modules.yuegou.entity.points.ApplyEntity;
import com.dragon.modules.yuegou.enums.points.ApplyStatus;
import com.dragon.modules.yuegou.enums.points.ApplyType;
import com.dragon.modules.yuegou.mybatis.Condition;
import com.dragon.modules.yuegou.mybatis.Query;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonUnwrapped;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 积分兑换申请 动态查询条件
 * 
 * @author pbuilder generated
 * @date 2019-04-24 17:38:26
 * @version 2.0
 */
@JsonInclude(Include.NON_NULL)
public class ApplyQuery extends ApplyEntity implements Query<ApplyEntity> {

    /** 查询条件 */
	@JsonUnwrapped(prefix = "id")
	private Condition<String> idCondition;

    /** 商圈ID查询条件 */
	@JsonUnwrapped(prefix = "busdId")
	private Condition<String> busdIdCondition;

    /** 会员ID查询条件 */
	@JsonUnwrapped(prefix = "memberId")
	private Condition<String> memberIdCondition;

    /** 手机号查询条件 */
	@JsonUnwrapped(prefix = "mobile")
	private Condition<String> mobileCondition;

    /** 商户ID查询条件 */
	@JsonUnwrapped(prefix = "merchantId")
	private Condition<String> merchantIdCondition;

    /** 商户名称查询条件 */
	@JsonUnwrapped(prefix = "merchantName")
	private Condition<String> merchantNameCondition;

    /** 小票照片查询条件 */
	@JsonUnwrapped(prefix = "ticketPic")
	private Condition<String> ticketPicCondition;

    /** 票号查询条件 */
	@JsonUnwrapped(prefix = "ticketNum")
	private Condition<String> ticketNumCondition;

    /** 消费金额查询条件 */
	@JsonUnwrapped(prefix = "cost")
	private Condition<BigDecimal> costCondition;

    /** 消费时间查询条件 */
	@JsonUnwrapped(prefix = "costTime")
	private Condition<LocalDateTime> costTimeCondition;

    /** 兑换积分查询条件 */
	@JsonUnwrapped(prefix = "points")
	private Condition<Integer> pointsCondition;

    /** [枚举]状态：0-申请中-APPLYFOR、1-申请通过-APPLYPASS、2-驳回-REJECTED查询条件 */
	@JsonUnwrapped(prefix = "status")
	private Condition<ApplyStatus> statusCondition;

    /** 驳回原因查询条件 */
	@JsonUnwrapped(prefix = "reason")
	private Condition<String> reasonCondition;

    /** [枚举]类型：0-机打-MACHINE_PRINT、1-非机打-WRITE查询条件 */
	@JsonUnwrapped(prefix = "type")
	private Condition<ApplyType> typeCondition;

    /** 会员等级id查询条件 */
	@JsonUnwrapped(prefix = "memberLevelId")
	private Condition<String> memberLevelIdCondition;

    /** 会员等级名称查询条件 */
	@JsonUnwrapped(prefix = "memberLevelName")
	private Condition<String> memberLevelNameCondition;

    /** 等级比例 如1:1 这里只是记录查询条件 */
	@JsonUnwrapped(prefix = "levelProportion")
	private Condition<String> levelProportionCondition;

    /** 积分配比  如30:1 这里只是记录查询条件 */
	@JsonUnwrapped(prefix = "pointProportion")
	private Condition<String> pointProportionCondition;

    /** 备注说明查询条件 */
	@JsonUnwrapped(prefix = "remark")
	private Condition<String> remarkCondition;

    /** 是否兑换停车券查询条件 */
	@JsonUnwrapped(prefix = "isApplyConpon")
	private Condition<Boolean> isApplyConponCondition;

    /** 查询条件 */
	@JsonUnwrapped(prefix = "conponId")
	private Condition<String> conponIdCondition;

    /** 查询条件 */
	@JsonUnwrapped(prefix = "createdTime")
	private Condition<LocalDateTime> createdTimeCondition;

    /** 查询条件 */
	@JsonUnwrapped(prefix = "createdBy")
	private Condition<String> createdByCondition;

    /** 查询条件 */
	@JsonUnwrapped(prefix = "modifiedTime")
	private Condition<LocalDateTime> modifiedTimeCondition;

    /** 查询条件 */
	@JsonUnwrapped(prefix = "modifiedBy")
	private Condition<String> modifiedByCondition;

    /** 逻辑删除，1表示已删除,0表示未删除查询条件 */
	@JsonUnwrapped(prefix = "del")
	private Condition<Boolean> delCondition;

    /** 查询条件 */
	@JsonUnwrapped(prefix = "delBy")
	private Condition<String> delByCondition;

    /** 查询条件 */
	@JsonUnwrapped(prefix = "delTime")
	private Condition<LocalDateTime> delTimeCondition;

	/**
	 * 构造一个查询条件对象
	 */
	public ApplyQuery() {
		super();
	}

	/**
	 * 依据实体对象构造一个查询条件对象
	 * 
	 * @param entity 实体对象
	 */
	public ApplyQuery(ApplyEntity entity) {
		super(entity);
	}

	/**
	 * 依据其它查询条件对象的信息构造一个查询条件对象
	 * 
	 * @param other 查询条件对象
	 */
	public ApplyQuery(ApplyQuery other) {
		super(other);
		if (other.idCondition != null) {
			this.idCondition = other.idCondition.copy();
		}
		if (other.busdIdCondition != null) {
			this.busdIdCondition = other.busdIdCondition.copy();
		}
		if (other.memberIdCondition != null) {
			this.memberIdCondition = other.memberIdCondition.copy();
		}
		if (other.mobileCondition != null) {
			this.mobileCondition = other.mobileCondition.copy();
		}
		if (other.merchantIdCondition != null) {
			this.merchantIdCondition = other.merchantIdCondition.copy();
		}
		if (other.merchantNameCondition != null) {
			this.merchantNameCondition = other.merchantNameCondition.copy();
		}
		if (other.ticketPicCondition != null) {
			this.ticketPicCondition = other.ticketPicCondition.copy();
		}
		if (other.ticketNumCondition != null) {
			this.ticketNumCondition = other.ticketNumCondition.copy();
		}
		if (other.costCondition != null) {
			this.costCondition = other.costCondition.copy();
		}
		if (other.costTimeCondition != null) {
			this.costTimeCondition = other.costTimeCondition.copy();
		}
		if (other.pointsCondition != null) {
			this.pointsCondition = other.pointsCondition.copy();
		}
		if (other.statusCondition != null) {
			this.statusCondition = other.statusCondition.copy();
		}
		if (other.reasonCondition != null) {
			this.reasonCondition = other.reasonCondition.copy();
		}
		if (other.typeCondition != null) {
			this.typeCondition = other.typeCondition.copy();
		}
		this.setOther(other);
	}

	private void setOther(ApplyQuery other){
		if(other.memberLevelIdCondition != null) {
			this.memberLevelIdCondition = other.memberLevelIdCondition.copy();
		}
		if(other.memberLevelNameCondition != null) {
			this.memberLevelNameCondition = other.memberLevelNameCondition.copy();
		}
		if(other.levelProportionCondition != null) {
			this.levelProportionCondition = other.levelProportionCondition.copy();
		}
		if(other.pointProportionCondition != null) {
			this.pointProportionCondition = other.pointProportionCondition.copy();
		}
		if(other.remarkCondition != null) {
			this.remarkCondition = other.remarkCondition.copy();
		}
		if(other.isApplyConponCondition != null) {
			this.isApplyConponCondition = other.isApplyConponCondition.copy();
		}
		if(other.conponIdCondition != null) {
			this.conponIdCondition = other.conponIdCondition.copy();
		}
		if(other.createdTimeCondition != null) {
			this.createdTimeCondition = other.createdTimeCondition.copy();
		}
		if(other.createdByCondition != null) {
			this.createdByCondition = other.createdByCondition.copy();
		}
		if(other.modifiedTimeCondition != null) {
			this.modifiedTimeCondition = other.modifiedTimeCondition.copy();
		}
		if(other.modifiedByCondition != null) {
			this.modifiedByCondition = other.modifiedByCondition.copy();
		}
		if(other.delCondition != null) {
			this.delCondition = other.delCondition.copy();
		}
		if(other.delByCondition != null) {
			this.delByCondition = other.delByCondition.copy();
		}
		if(other.delTimeCondition != null) {
			this.delTimeCondition = other.delTimeCondition.copy();
		}
	}

	@Override
	public QueryWrapper<ApplyEntity> toQueryWrapper() {
		QueryWrapper<ApplyEntity> wrapper = new QueryWrapper<>(this);
		if (idCondition != null) {
			idCondition.toWrapper(wrapper, COL_ID);
		}
		if (busdIdCondition != null) {
			busdIdCondition.toWrapper(wrapper, COL_BUSD_ID);
		}
		if (memberIdCondition != null) {
			memberIdCondition.toWrapper(wrapper, COL_MEMBER_ID);
		}
		if (mobileCondition != null) {
			mobileCondition.toWrapper(wrapper, COL_MOBILE);
		}
		if (merchantIdCondition != null) {
			merchantIdCondition.toWrapper(wrapper, COL_MERCHANT_ID);
		}
		if (merchantNameCondition != null) {
			merchantNameCondition.toWrapper(wrapper, COL_MERCHANT_NAME);
		}
		if (ticketPicCondition != null) {
			ticketPicCondition.toWrapper(wrapper, COL_TICKET_PIC);
		}
		if (ticketNumCondition != null) {
			ticketNumCondition.toWrapper(wrapper, COL_TICKET_NUM);
		}
		if (costCondition != null) {
			costCondition.toWrapper(wrapper, COL_COST);
		}
		if (costTimeCondition != null) {
			costTimeCondition.toWrapper(wrapper, COL_COST_TIME);
		}
		if (pointsCondition != null) {
			pointsCondition.toWrapper(wrapper, COL_POINTS);
		}
		if (statusCondition != null) {
			statusCondition.toWrapper(wrapper, COL_STATUS);
		}
		if (reasonCondition != null) {
			reasonCondition.toWrapper(wrapper, COL_REASON);
		}
		if (typeCondition != null) {
			typeCondition.toWrapper(wrapper, COL_TYPE);
		}
		return getQueryWrapper(wrapper);
	}

	private QueryWrapper<ApplyEntity> getQueryWrapper(QueryWrapper<ApplyEntity> wrapper){
		if (memberLevelIdCondition != null) {
			memberLevelIdCondition.toWrapper(wrapper, COL_MEMBER_LEVEL_ID);
		}
		if (memberLevelNameCondition != null) {
			memberLevelNameCondition.toWrapper(wrapper, COL_MEMBER_LEVEL_NAME);
		}
		if (levelProportionCondition != null) {
			levelProportionCondition.toWrapper(wrapper, COL_LEVEL_PROPORTION);
		}
		if (pointProportionCondition != null) {
			pointProportionCondition.toWrapper(wrapper, COL_POINT_PROPORTION);
		}
		if (remarkCondition != null) {
			remarkCondition.toWrapper(wrapper, COL_REMARK);
		}
		if (isApplyConponCondition != null) {
			isApplyConponCondition.toWrapper(wrapper, COL_IS_APPLY_CONPON);
		}
		if (conponIdCondition != null) {
			conponIdCondition.toWrapper(wrapper, COL_CONPON_ID);
		}
		if (createdTimeCondition != null) {
			createdTimeCondition.toWrapper(wrapper, COL_CREATED_TIME);
		}
		if (createdByCondition != null) {
			createdByCondition.toWrapper(wrapper, COL_CREATED_BY);
		}
		if (modifiedTimeCondition != null) {
			modifiedTimeCondition.toWrapper(wrapper, COL_MODIFIED_TIME);
		}
		if (modifiedByCondition != null) {
			modifiedByCondition.toWrapper(wrapper, COL_MODIFIED_BY);
		}
		if (delCondition != null) {
			delCondition.toWrapper(wrapper, COL_DEL);
		}
		if (delByCondition != null) {
			delByCondition.toWrapper(wrapper, COL_DEL_BY);
		}
		if (delTimeCondition != null) {
			delTimeCondition.toWrapper(wrapper, COL_DEL_TIME);
		}
		return wrapper;
	}

	/**
	 * 构造并返回查询条件
	 * 
	 * @return idCondition 查询条件
	 */
	public Condition<String> id() {
		this.idCondition = new Condition<>();
		return this.idCondition;
	}
	
	/**
	 * 获取查询条件
	 * 
	 * @return idCondition 查询条件
	 */
	public Condition<String> getIdCondition() {
		return idCondition;
	}

	/**
	 * 设置查询条件
	 * 
	 * @param idCondition 查询条件
	 */
	public void setIdCondition(Condition<String> idCondition) {
		this.idCondition = idCondition;
	}

	/**
	 * 构造并返回商圈ID查询条件
	 * 
	 * @return busdIdCondition 商圈ID查询条件
	 */
	public Condition<String> busdId() {
		this.busdIdCondition = new Condition<>();
		return this.busdIdCondition;
	}
	
	/**
	 * 获取商圈ID查询条件
	 * 
	 * @return busdIdCondition 商圈ID查询条件
	 */
	public Condition<String> getBusdIdCondition() {
		return busdIdCondition;
	}

	/**
	 * 设置商圈ID查询条件
	 * 
	 * @param busdIdCondition 商圈ID查询条件
	 */
	public void setBusdIdCondition(Condition<String> busdIdCondition) {
		this.busdIdCondition = busdIdCondition;
	}

	/**
	 * 构造并返回会员ID查询条件
	 * 
	 * @return memberIdCondition 会员ID查询条件
	 */
	public Condition<String> memberId() {
		this.memberIdCondition = new Condition<>();
		return this.memberIdCondition;
	}
	
	/**
	 * 获取会员ID查询条件
	 * 
	 * @return memberIdCondition 会员ID查询条件
	 */
	public Condition<String> getMemberIdCondition() {
		return memberIdCondition;
	}

	/**
	 * 设置会员ID查询条件
	 * 
	 * @param memberIdCondition 会员ID查询条件
	 */
	public void setMemberIdCondition(Condition<String> memberIdCondition) {
		this.memberIdCondition = memberIdCondition;
	}

	/**
	 * 构造并返回手机号查询条件
	 * 
	 * @return mobileCondition 手机号查询条件
	 */
	public Condition<String> mobile() {
		this.mobileCondition = new Condition<>();
		return this.mobileCondition;
	}
	
	/**
	 * 获取手机号查询条件
	 * 
	 * @return mobileCondition 手机号查询条件
	 */
	public Condition<String> getMobileCondition() {
		return mobileCondition;
	}

	/**
	 * 设置手机号查询条件
	 * 
	 * @param mobileCondition 手机号查询条件
	 */
	public void setMobileCondition(Condition<String> mobileCondition) {
		this.mobileCondition = mobileCondition;
	}

	/**
	 * 构造并返回商户ID查询条件
	 * 
	 * @return merchantIdCondition 商户ID查询条件
	 */
	public Condition<String> merchantId() {
		this.merchantIdCondition = new Condition<>();
		return this.merchantIdCondition;
	}
	
	/**
	 * 获取商户ID查询条件
	 * 
	 * @return merchantIdCondition 商户ID查询条件
	 */
	public Condition<String> getMerchantIdCondition() {
		return merchantIdCondition;
	}

	/**
	 * 设置商户ID查询条件
	 * 
	 * @param merchantIdCondition 商户ID查询条件
	 */
	public void setMerchantIdCondition(Condition<String> merchantIdCondition) {
		this.merchantIdCondition = merchantIdCondition;
	}

	/**
	 * 构造并返回商户名称查询条件
	 * 
	 * @return merchantNameCondition 商户名称查询条件
	 */
	public Condition<String> merchantName() {
		this.merchantNameCondition = new Condition<>();
		return this.merchantNameCondition;
	}
	
	/**
	 * 获取商户名称查询条件
	 * 
	 * @return merchantNameCondition 商户名称查询条件
	 */
	public Condition<String> getMerchantNameCondition() {
		return merchantNameCondition;
	}

	/**
	 * 设置商户名称查询条件
	 * 
	 * @param merchantNameCondition 商户名称查询条件
	 */
	public void setMerchantNameCondition(Condition<String> merchantNameCondition) {
		this.merchantNameCondition = merchantNameCondition;
	}

	/**
	 * 构造并返回小票照片查询条件
	 * 
	 * @return ticketPicCondition 小票照片查询条件
	 */
	public Condition<String> ticketPic() {
		this.ticketPicCondition = new Condition<>();
		return this.ticketPicCondition;
	}
	
	/**
	 * 获取小票照片查询条件
	 * 
	 * @return ticketPicCondition 小票照片查询条件
	 */
	public Condition<String> getTicketPicCondition() {
		return ticketPicCondition;
	}

	/**
	 * 设置小票照片查询条件
	 * 
	 * @param ticketPicCondition 小票照片查询条件
	 */
	public void setTicketPicCondition(Condition<String> ticketPicCondition) {
		this.ticketPicCondition = ticketPicCondition;
	}

	/**
	 * 构造并返回票号查询条件
	 * 
	 * @return ticketNumCondition 票号查询条件
	 */
	public Condition<String> ticketNum() {
		this.ticketNumCondition = new Condition<>();
		return this.ticketNumCondition;
	}
	
	/**
	 * 获取票号查询条件
	 * 
	 * @return ticketNumCondition 票号查询条件
	 */
	public Condition<String> getTicketNumCondition() {
		return ticketNumCondition;
	}

	/**
	 * 设置票号查询条件
	 * 
	 * @param ticketNumCondition 票号查询条件
	 */
	public void setTicketNumCondition(Condition<String> ticketNumCondition) {
		this.ticketNumCondition = ticketNumCondition;
	}

	/**
	 * 构造并返回消费金额查询条件
	 * 
	 * @return costCondition 消费金额查询条件
	 */
	public Condition<BigDecimal> cost() {
		this.costCondition = new Condition<>();
		return this.costCondition;
	}
	
	/**
	 * 获取消费金额查询条件
	 * 
	 * @return costCondition 消费金额查询条件
	 */
	public Condition<BigDecimal> getCostCondition() {
		return costCondition;
	}

	/**
	 * 设置消费金额查询条件
	 * 
	 * @param costCondition 消费金额查询条件
	 */
	public void setCostCondition(Condition<BigDecimal> costCondition) {
		this.costCondition = costCondition;
	}

	/**
	 * 构造并返回消费时间查询条件
	 * 
	 * @return costTimeCondition 消费时间查询条件
	 */
	public Condition<LocalDateTime> costTime() {
		this.costTimeCondition = new Condition<>();
		return this.costTimeCondition;
	}
	
	/**
	 * 获取消费时间查询条件
	 * 
	 * @return costTimeCondition 消费时间查询条件
	 */
	public Condition<LocalDateTime> getCostTimeCondition() {
		return costTimeCondition;
	}

	/**
	 * 设置消费时间查询条件
	 * 
	 * @param costTimeCondition 消费时间查询条件
	 */
	public void setCostTimeCondition(Condition<LocalDateTime> costTimeCondition) {
		this.costTimeCondition = costTimeCondition;
	}

	/**
	 * 构造并返回兑换积分查询条件
	 * 
	 * @return pointsCondition 兑换积分查询条件
	 */
	public Condition<Integer> points() {
		this.pointsCondition = new Condition<>();
		return this.pointsCondition;
	}
	
	/**
	 * 获取兑换积分查询条件
	 * 
	 * @return pointsCondition 兑换积分查询条件
	 */
	public Condition<Integer> getPointsCondition() {
		return pointsCondition;
	}

	/**
	 * 设置兑换积分查询条件
	 * 
	 * @param pointsCondition 兑换积分查询条件
	 */
	public void setPointsCondition(Condition<Integer> pointsCondition) {
		this.pointsCondition = pointsCondition;
	}

	/**
	 * 构造并返回[枚举]状态：0-申请中-APPLYFOR、1-申请通过-APPLYPASS、2-驳回-REJECTED查询条件
	 * 
	 * @return statusCondition [枚举]状态：0-申请中-APPLYFOR、1-申请通过-APPLYPASS、2-驳回-REJECTED查询条件
	 */
	public Condition<ApplyStatus> status() {
		this.statusCondition = new Condition<>();
		return this.statusCondition;
	}
	
	/**
	 * 获取[枚举]状态：0-申请中-APPLYFOR、1-申请通过-APPLYPASS、2-驳回-REJECTED查询条件
	 * 
	 * @return statusCondition [枚举]状态：0-申请中-APPLYFOR、1-申请通过-APPLYPASS、2-驳回-REJECTED查询条件
	 */
	public Condition<ApplyStatus> getStatusCondition() {
		return statusCondition;
	}

	/**
	 * 设置[枚举]状态：0-申请中-APPLYFOR、1-申请通过-APPLYPASS、2-驳回-REJECTED查询条件
	 * 
	 * @param statusCondition [枚举]状态：0-申请中-APPLYFOR、1-申请通过-APPLYPASS、2-驳回-REJECTED查询条件
	 */
	public void setStatusCondition(Condition<ApplyStatus> statusCondition) {
		this.statusCondition = statusCondition;
	}

	/**
	 * 构造并返回驳回原因查询条件
	 * 
	 * @return reasonCondition 驳回原因查询条件
	 */
	public Condition<String> reason() {
		this.reasonCondition = new Condition<>();
		return this.reasonCondition;
	}
	
	/**
	 * 获取驳回原因查询条件
	 * 
	 * @return reasonCondition 驳回原因查询条件
	 */
	public Condition<String> getReasonCondition() {
		return reasonCondition;
	}

	/**
	 * 设置驳回原因查询条件
	 * 
	 * @param reasonCondition 驳回原因查询条件
	 */
	public void setReasonCondition(Condition<String> reasonCondition) {
		this.reasonCondition = reasonCondition;
	}

	/**
	 * 构造并返回[枚举]类型：0-机打-MACHINE_PRINT、1-非机打-WRITE查询条件
	 * 
	 * @return typeCondition [枚举]类型：0-机打-MACHINE_PRINT、1-非机打-WRITE查询条件
	 */
	public Condition<ApplyType> type() {
		this.typeCondition = new Condition<>();
		return this.typeCondition;
	}
	
	/**
	 * 获取[枚举]类型：0-机打-MACHINE_PRINT、1-非机打-WRITE查询条件
	 * 
	 * @return typeCondition [枚举]类型：0-机打-MACHINE_PRINT、1-非机打-WRITE查询条件
	 */
	public Condition<ApplyType> getTypeCondition() {
		return typeCondition;
	}

	/**
	 * 设置[枚举]类型：0-机打-MACHINE_PRINT、1-非机打-WRITE查询条件
	 * 
	 * @param typeCondition [枚举]类型：0-机打-MACHINE_PRINT、1-非机打-WRITE查询条件
	 */
	public void setTypeCondition(Condition<ApplyType> typeCondition) {
		this.typeCondition = typeCondition;
	}

	/**
	 * 构造并返回会员等级id查询条件
	 * 
	 * @return memberLevelIdCondition 会员等级id查询条件
	 */
	public Condition<String> memberLevelId() {
		this.memberLevelIdCondition = new Condition<>();
		return this.memberLevelIdCondition;
	}
	
	/**
	 * 获取会员等级id查询条件
	 * 
	 * @return memberLevelIdCondition 会员等级id查询条件
	 */
	public Condition<String> getMemberLevelIdCondition() {
		return memberLevelIdCondition;
	}

	/**
	 * 设置会员等级id查询条件
	 * 
	 * @param memberLevelIdCondition 会员等级id查询条件
	 */
	public void setMemberLevelIdCondition(Condition<String> memberLevelIdCondition) {
		this.memberLevelIdCondition = memberLevelIdCondition;
	}

	/**
	 * 构造并返回会员等级名称查询条件
	 * 
	 * @return memberLevelNameCondition 会员等级名称查询条件
	 */
	public Condition<String> memberLevelName() {
		this.memberLevelNameCondition = new Condition<>();
		return this.memberLevelNameCondition;
	}
	
	/**
	 * 获取会员等级名称查询条件
	 * 
	 * @return memberLevelNameCondition 会员等级名称查询条件
	 */
	public Condition<String> getMemberLevelNameCondition() {
		return memberLevelNameCondition;
	}

	/**
	 * 设置会员等级名称查询条件
	 * 
	 * @param memberLevelNameCondition 会员等级名称查询条件
	 */
	public void setMemberLevelNameCondition(Condition<String> memberLevelNameCondition) {
		this.memberLevelNameCondition = memberLevelNameCondition;
	}

	/**
	 * 构造并返回等级比例 如1:1 这里只是记录查询条件
	 * 
	 * @return levelProportionCondition 等级比例 如1:1 这里只是记录查询条件
	 */
	public Condition<String> levelProportion() {
		this.levelProportionCondition = new Condition<>();
		return this.levelProportionCondition;
	}
	
	/**
	 * 获取等级比例 如1:1 这里只是记录查询条件
	 * 
	 * @return levelProportionCondition 等级比例 如1:1 这里只是记录查询条件
	 */
	public Condition<String> getLevelProportionCondition() {
		return levelProportionCondition;
	}

	/**
	 * 设置等级比例 如1:1 这里只是记录查询条件
	 * 
	 * @param levelProportionCondition 等级比例 如1:1 这里只是记录查询条件
	 */
	public void setLevelProportionCondition(Condition<String> levelProportionCondition) {
		this.levelProportionCondition = levelProportionCondition;
	}

	/**
	 * 构造并返回积分配比  如30:1 这里只是记录查询条件
	 * 
	 * @return pointProportionCondition 积分配比  如30:1 这里只是记录查询条件
	 */
	public Condition<String> pointProportion() {
		this.pointProportionCondition = new Condition<>();
		return this.pointProportionCondition;
	}
	
	/**
	 * 获取积分配比  如30:1 这里只是记录查询条件
	 * 
	 * @return pointProportionCondition 积分配比  如30:1 这里只是记录查询条件
	 */
	public Condition<String> getPointProportionCondition() {
		return pointProportionCondition;
	}

	/**
	 * 设置积分配比  如30:1 这里只是记录查询条件
	 * 
	 * @param pointProportionCondition 积分配比  如30:1 这里只是记录查询条件
	 */
	public void setPointProportionCondition(Condition<String> pointProportionCondition) {
		this.pointProportionCondition = pointProportionCondition;
	}

	/**
	 * 构造并返回备注说明查询条件
	 * 
	 * @return remarkCondition 备注说明查询条件
	 */
	public Condition<String> remark() {
		this.remarkCondition = new Condition<>();
		return this.remarkCondition;
	}
	
	/**
	 * 获取备注说明查询条件
	 * 
	 * @return remarkCondition 备注说明查询条件
	 */
	public Condition<String> getRemarkCondition() {
		return remarkCondition;
	}

	/**
	 * 设置备注说明查询条件
	 * 
	 * @param remarkCondition 备注说明查询条件
	 */
	public void setRemarkCondition(Condition<String> remarkCondition) {
		this.remarkCondition = remarkCondition;
	}

	/**
	 * 构造并返回是否兑换停车券查询条件
	 * 
	 * @return isApplyConponCondition 是否兑换停车券查询条件
	 */
	public Condition<Boolean> isApplyConpon() {
		this.isApplyConponCondition = new Condition<>();
		return this.isApplyConponCondition;
	}
	
	/**
	 * 获取是否兑换停车券查询条件
	 * 
	 * @return isApplyConponCondition 是否兑换停车券查询条件
	 */
	public Condition<Boolean> getIsApplyConponCondition() {
		return isApplyConponCondition;
	}

	/**
	 * 设置是否兑换停车券查询条件
	 * 
	 * @param isApplyConponCondition 是否兑换停车券查询条件
	 */
	public void setIsApplyConponCondition(Condition<Boolean> isApplyConponCondition) {
		this.isApplyConponCondition = isApplyConponCondition;
	}

	/**
	 * 构造并返回查询条件
	 * 
	 * @return conponIdCondition 查询条件
	 */
	public Condition<String> conponId() {
		this.conponIdCondition = new Condition<>();
		return this.conponIdCondition;
	}
	
	/**
	 * 获取查询条件
	 * 
	 * @return conponIdCondition 查询条件
	 */
	public Condition<String> getConponIdCondition() {
		return conponIdCondition;
	}

	/**
	 * 设置查询条件
	 * 
	 * @param conponIdCondition 查询条件
	 */
	public void setConponIdCondition(Condition<String> conponIdCondition) {
		this.conponIdCondition = conponIdCondition;
	}

	/**
	 * 构造并返回查询条件
	 * 
	 * @return createdTimeCondition 查询条件
	 */
	public Condition<LocalDateTime> createdTime() {
		this.createdTimeCondition = new Condition<>();
		return this.createdTimeCondition;
	}
	
	/**
	 * 获取查询条件
	 * 
	 * @return createdTimeCondition 查询条件
	 */
	public Condition<LocalDateTime> getCreatedTimeCondition() {
		return createdTimeCondition;
	}

	/**
	 * 设置查询条件
	 * 
	 * @param createdTimeCondition 查询条件
	 */
	public void setCreatedTimeCondition(Condition<LocalDateTime> createdTimeCondition) {
		this.createdTimeCondition = createdTimeCondition;
	}

	/**
	 * 构造并返回查询条件
	 * 
	 * @return createdByCondition 查询条件
	 */
	public Condition<String> createdBy() {
		this.createdByCondition = new Condition<>();
		return this.createdByCondition;
	}
	
	/**
	 * 获取查询条件
	 * 
	 * @return createdByCondition 查询条件
	 */
	public Condition<String> getCreatedByCondition() {
		return createdByCondition;
	}

	/**
	 * 设置查询条件
	 * 
	 * @param createdByCondition 查询条件
	 */
	public void setCreatedByCondition(Condition<String> createdByCondition) {
		this.createdByCondition = createdByCondition;
	}

	/**
	 * 构造并返回查询条件
	 * 
	 * @return modifiedTimeCondition 查询条件
	 */
	public Condition<LocalDateTime> modifiedTime() {
		this.modifiedTimeCondition = new Condition<>();
		return this.modifiedTimeCondition;
	}
	
	/**
	 * 获取查询条件
	 * 
	 * @return modifiedTimeCondition 查询条件
	 */
	public Condition<LocalDateTime> getModifiedTimeCondition() {
		return modifiedTimeCondition;
	}

	/**
	 * 设置查询条件
	 * 
	 * @param modifiedTimeCondition 查询条件
	 */
	public void setModifiedTimeCondition(Condition<LocalDateTime> modifiedTimeCondition) {
		this.modifiedTimeCondition = modifiedTimeCondition;
	}

	/**
	 * 构造并返回查询条件
	 * 
	 * @return modifiedByCondition 查询条件
	 */
	public Condition<String> modifiedBy() {
		this.modifiedByCondition = new Condition<>();
		return this.modifiedByCondition;
	}
	
	/**
	 * 获取查询条件
	 * 
	 * @return modifiedByCondition 查询条件
	 */
	public Condition<String> getModifiedByCondition() {
		return modifiedByCondition;
	}

	/**
	 * 设置查询条件
	 * 
	 * @param modifiedByCondition 查询条件
	 */
	public void setModifiedByCondition(Condition<String> modifiedByCondition) {
		this.modifiedByCondition = modifiedByCondition;
	}

	/**
	 * 构造并返回逻辑删除，1表示已删除,0表示未删除查询条件
	 * 
	 * @return delCondition 逻辑删除，1表示已删除,0表示未删除查询条件
	 */
	public Condition<Boolean> del() {
		this.delCondition = new Condition<>();
		return this.delCondition;
	}
	
	/**
	 * 获取逻辑删除，1表示已删除,0表示未删除查询条件
	 * 
	 * @return delCondition 逻辑删除，1表示已删除,0表示未删除查询条件
	 */
	public Condition<Boolean> getDelCondition() {
		return delCondition;
	}

	/**
	 * 设置逻辑删除，1表示已删除,0表示未删除查询条件
	 * 
	 * @param delCondition 逻辑删除，1表示已删除,0表示未删除查询条件
	 */
	public void setDelCondition(Condition<Boolean> delCondition) {
		this.delCondition = delCondition;
	}

	/**
	 * 构造并返回查询条件
	 * 
	 * @return delByCondition 查询条件
	 */
	public Condition<String> delBy() {
		this.delByCondition = new Condition<>();
		return this.delByCondition;
	}
	
	/**
	 * 获取查询条件
	 * 
	 * @return delByCondition 查询条件
	 */
	public Condition<String> getDelByCondition() {
		return delByCondition;
	}

	/**
	 * 设置查询条件
	 * 
	 * @param delByCondition 查询条件
	 */
	public void setDelByCondition(Condition<String> delByCondition) {
		this.delByCondition = delByCondition;
	}

	/**
	 * 构造并返回查询条件
	 * 
	 * @return delTimeCondition 查询条件
	 */
	public Condition<LocalDateTime> delTime() {
		this.delTimeCondition = new Condition<>();
		return this.delTimeCondition;
	}
	
	/**
	 * 获取查询条件
	 * 
	 * @return delTimeCondition 查询条件
	 */
	public Condition<LocalDateTime> getDelTimeCondition() {
		return delTimeCondition;
	}

	/**
	 * 设置查询条件
	 * 
	 * @param delTimeCondition 查询条件
	 */
	public void setDelTimeCondition(Condition<LocalDateTime> delTimeCondition) {
		this.delTimeCondition = delTimeCondition;
	}

}
